<?php 
class paymentClass{
	function getPaymentStatus($payment_status){
				if($payment_status== 0)
					$status = '<span style="color:#000; background-color:#FFD5D5; border:1px solid #FF8C8C; display:block; padding:5px; text-align:center">Error</span>';
				else if($payment_status== 1)
					$status = '<span style="color:#000; background-color:#D9FFCC; border:1px solid #32C600; display:block; padding:5px; text-align:center">Approved</span>';
				else if($payment_status== 2)	
					$status = '<span style="color:#000; background-color:#FFE7CE; border:1px solid #FF7F00; display:block; padding:5px; text-align:center">Declined</span>';
				else if($payment_status== 3)	
					$status = '<span style="color:#000; background-color:#FFD5D5; border:1px solid #FF8C8C; display:block; padding:5px; text-align:center">Error</span>';
				else if($payment_status== 4)	
					$status = '<span style="color:#000; background-color:#BFEFFF; border:1px solid #8CE2FF; display:block; padding:5px; text-align:center;">Held for review</span>';
		return $status;
		}
	function getPaymentStatusOnlyName($payment_status){
				if($payment_status== 0)
					$status = 'Error';
				else if($payment_status== 1)
					$status = 'Approved';
				else if($payment_status== 2)	
					$status = 'Declined';
				else if($payment_status== 3)	
					$status = 'Error';
				else if($payment_status== 4)	
					$status = 'Held for review';
		return $status;
		}	
	
	}